import { ElMessage } from "element-plus"

/**
	* 全局消息提示
	* @param message 消息内容
	* @param type 消息类型
	* @constructor
	*/
export default function SysConfirm(
	message: string,
	type: "error" | "warning" | "success" | "info" = "info"
) {
	ElMessage({
		type: type,
		message: message
	})
}
